package com.heima.model.wemedia.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * 自媒体文章表(WmNews)实体类
 *
 * @author makejava
 * @since 2022-04-12 16:45:57
 */
public class WmNews implements Serializable {
    private static final long serialVersionUID = 842464809173601398L;
    /**
     * 主键
     */
    private Long id;
    /**
     * 文章标题
     */
    private String title;
    /**
     * 封面图片;图片URL路径, 多个图片 , 分割
     */
    private String images;
    /**
     * 文章内容
     */
    private String content;
    /**
     * 作者id
     */
    private Long userId;
    /**
     * 频道id
     */
    private Long channelId;
    /**
     * 布局类型;0 : 无图 1 :单图 3:多图
     */
    private Integer type;
    /**
     * 文章标签
     */
    private String labels;
    /**
     * 文章状态;
     * 0 : 草稿
     * 1 : 提交（待审核）
     * 2 : 审核失败
     * 3 : 人工审核
     * 4 : 人工审核通过
     * 8 : 审核通过（待发布）
     * 9 : 已发布
     */
    private Integer status;
    /**
     * 发布时间
     */
    private Date publishTime;
    /**
     * 是否上架
     */
    private Integer enable;
    /**
     * 审核失败原因
     */
    private String reason;
    /**
     * 创建人
     */
    private String createdBy;
    /**
     * 创建时间
     */
    private Date createdTime;
    /**
     * 更新人
     */
    private Integer updatedBy;
    /**
     * 更新时间
     */
    private Date updatedTime;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getImages() {
        return images;
    }

    public void setImages(String images) {
        this.images = images;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getChannelId() {
        return channelId;
    }

    public void setChannelId(Long channelId) {
        this.channelId = channelId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getLabels() {
        return labels;
    }

    public void setLabels(String labels) {
        this.labels = labels;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getPublishTime() {
        return publishTime;
    }

    public void setPublishTime(Date publishTime) {
        this.publishTime = publishTime;
    }

    public Integer getEnable() {
        return enable;
    }

    public void setEnable(Integer enable) {
        this.enable = enable;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public Integer getUpdatedBy() {
        return updatedBy;
    }

    public void setUpdatedBy(Integer updatedBy) {
        this.updatedBy = updatedBy;
    }

    public Date getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(Date updatedTime) {
        this.updatedTime = updatedTime;
    }

}

